class_name Teleporter
extends Interactable

@export_file("*.tscn") var path: String
@export var entryPoint: String

func interact() -> void:
	super()
	Game.change_scene(path, {entryPoint = entryPoint})
